---
hide_table_of_contents: true
---

# Zep Retriever

这个示例展示了如何在 `RetrievalQAChain` 中使用 Zep Retriever 从 Zep 内存存储中检索文档。(This example shows how to use the Zep Retriever in a `RetrievalQAChain` to retrieve documents from Zep memory store.)

## 设置(## Setup)

```bash npm2yarn
npm i @getzep/zep-js

```


## 使用(## Usage)

import CodeBlock from "@theme/CodeBlock";

import Example from "!!raw-loader!@examples/retrievers/zep.ts";



<CodeBlock language="typescript">{Example}</CodeBlock>

